home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Vk / VkMsgApp.z / VkMsgApp
Encoding:
Text File  |  2002-10-03  |  8.2 KB  |  199 lines

  1.  
  2.  
  3.  
  4. VVVVkkkkMMMMssssggggAAAApppppppp((((3333xxxx))))                                                      VVVVkkkkMMMMssssggggAAAApppppppp((((3333xxxx))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      VkMsgApp - Class used by messaging applications to handle initialization
  10.  
  11. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  12.      VkApp : VkComponent : VkCallbackObject
  13.  
  14. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  15.      #include <Vk/VkMsgApp.h>
  16.  
  17. PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
  18.    CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr////DDDDeeeessssttttrrrruuuuccccttttoooorrrr
  19.            VkMsgApp(char*             appClassName,
  20.                     int*              argc_c,
  21.                     char**            arg_v,
  22.                     XrmOptionDescRec* optionList = NULL,
  23.                     int                sizeOfOptionList = 0,
  24.                     const char*        ptid = NULL,
  25.                     const char*        sessid = NULL,
  26.                     Boolean            noProtocol = False);
  27.  
  28.            virtual void ~VkMsgApp(void);
  29.  
  30.  
  31.    MMMMeeeessssssssaaaaggggeeee FFFFaaaacccciiiilllliiiittttyyyy AAAAcccccccceeeessssssss
  32.            VkMsgClient* messageClient(void);
  33.  
  34.  
  35.    AAAAcccccccceeeessssssss MMMMeeeetttthhhhooooddddssss
  36.            Boolean noProtocol()
  37.  
  38.  
  39. XXXX RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD WWWWIIIITTTTHHHH TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  40.            projectWindow
  41.            projectSelect
  42.            project
  43.            privateProject
  44.  
  45.  
  46. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  47.           VkMsgApp is used instead of VkApp by applications which use the
  48.           ViewKit message facility.  It creates a VkMsgService object and
  49.           provides basic project support.
  50.  
  51.           Three new command-line options provide control over the ToolTalk
  52.           session.
  53.  
  54.             -project will specify a session ID.
  55.  
  56.             -projectWindow will specify a window containing a session ID.
  57.  
  58.             -projectSelect will allow the user to click on a window containing
  59.           a session ID.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. VVVVkkkkMMMMssssggggAAAApppppppp((((3333xxxx))))                                                      VVVVkkkkMMMMssssggggAAAApppppppp((((3333xxxx))))
  71.  
  72.  
  73.  
  74.           The default is "-project default".
  75.  
  76.  
  77. DDDDEEEERRRRIIIIVVVVIIIINNNNGGGG SSSSUUUUBBBBCCCCLLLLAAAASSSSSSSSEEEESSSS
  78.           The same guidelines for deriving from VkApp apply to VkMsgApp
  79.           subclasses.
  80.  
  81.  
  82.  
  83. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  84.    VVVVkkkkMMMMssssggggAAAApppppppp(((())))
  85.            VkMsgApp(char*             appClassName,
  86.                     int*              argc_c,
  87.                     char**            arg_v,
  88.                     XrmOptionDescRec* optionList = NULL,
  89.                     int               sizeOfOptionList = 0,
  90.                     const char*       ptid = NULL,
  91.                     const char*       sessid = NULL,
  92.                     Boolean           noProtocol = False);
  93.  
  94.            virtual void ~VkMsgApp(void);
  95.  
  96.  
  97.           Two new arguments are added to the normal VkApp constructor
  98.           arguments.  The sixth argument is the process type (ptype).  It
  99.           defaults to NULL, which indicates no ptype.  The seventh is the
  100.           session to join.  It defaults to NULL, which indicates the default
  101.           session.  The last argument defaults to False, and controls whether
  102.           VkMsgApp automatically implements handling for "Lower", "Raise", and
  103.           "Quit" messages.  These messages are standard, and cause the calling
  104.           of the iconify, open/raise, and quitYourself methods of VkApp.
  105.  
  106.    mmmmeeeessssssssaaaaggggeeeeCCCClllliiiieeeennnntttt(((())))
  107.            VkMsgClient* messageClient(void);
  108.  
  109.  
  110.           Returns a pointer to the VkMsgClient object for access to message
  111.           facility functionality.  See the VkMsgClient man page for more
  112.           details.
  113.  
  114.    nnnnooooPPPPrrrroooottttooooccccoooollll(((())))
  115.            Boolean noProtocol(void);
  116.  
  117.  
  118.           Returns the value of the noProtocol constructor argument.  If TRUE,
  119.           then VkMsgApp does not automatically handle the standard "Lower",
  120.           "Raise", and "Quit" messages.
  121.  
  122. IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  123.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkAAAApppppppp
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. VVVVkkkkMMMMssssggggAAAApppppppp((((3333xxxx))))                                                      VVVVkkkkMMMMssssggggAAAApppppppp((((3333xxxx))))
  137.  
  138.  
  139.  
  140.           afterRealizeHook(), show(), hide(), name(), className(),
  141.           parseCommandLine(), VkApp(), setVersionString(), versionString(),
  142.           terminate(), handlePendingEvents(), quitYourself(),
  143.           handleRawEvent(), setMainWindow(), raise(), lower(), iconify(),
  144.           open(), startupIconified(), busyCursor(), normalCursor(),
  145.           setNormalCursor(), setBusyCursor(), showCursor(), busy(),
  146.           veryBusy(), notBusy(), setBusyDialog(), appContext(), display(),
  147.           argv(), argv(), argc(), applicationClassName(), mainWindow(),
  148.           shellGeometry(), startupIconified(), _winList, _quitSemaphore,
  149.           ViewKitMajorRelease, ViewKitMinorRelease, ViewKitReleaseString
  150.  
  151.  
  152.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
  153.           installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
  154.           setDefaultResources(), getResources(), manage(), unmanage(),
  155.           baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
  156.  
  157.  
  158.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCaaaallllllllbbbbaaaacccckkkkOOOObbbbjjjjeeeecccctttt
  159.           callCallbacks(), addCallback(), removeCallback(),
  160.           removeAllCallbacks()
  161.  
  162.  
  163. CCCCLLLLAAAASSSSSSSSEEEESSSS UUUUSSSSEEEEDDDD BBBBYYYY TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  164.      VkComponentList, VkMsgClient, VkMsgService
  165.  
  166. KKKKNNNNOOOOWWWWNNNN CCCCLLLLAAAASSSSSSSSEEEESSSS TTTTHHHHAAAATTTT UUUUSSSSEEEE TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  167.      VkMsgApp
  168.  
  169. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  170.      VkApp, VkComponent, VkMsgApp, VkMsgClient, VkMsgService, VkMsgWindow
  171.      _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
  172.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
  173.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
  174.      _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.